'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_RPC = 1
    Public NotInheritable Class RPC
        Private Sub New()
        End Sub

        Public Shared ReadOnly RPC_E_CALL_REJECTED As HResult = &H80010001
        Public Shared ReadOnly DBG_EXCEPTION_HANDLED As HResult = &H10001
        Public Shared ReadOnly DBG_EXCEPTION_NOT_HANDLED As HResult = &H80010001
        Public Shared ReadOnly DBG_NO_STATE_CHANGE As HResult = &HC0010001
        Public Shared ReadOnly DBG_REPLY_LATER As HResult = &H40010001
        Public Shared ReadOnly RPC_E_CALL_CANCELED As HResult = &H80010002
        Public Shared ReadOnly DBG_APP_NOT_IDLE As HResult = &HC0010002
        Public Shared ReadOnly DBG_CONTINUE As HResult = &H10002
        Public Shared ReadOnly DBG_UNABLE_TO_PROVIDE_HANDLE As HResult = &H40010002
        Public Shared ReadOnly RPC_E_CANTPOST_INSENDCALL As HResult = &H80010003
        Public Shared ReadOnly DBG_TERMINATE_THREAD As HResult = &H40010003
        Public Shared ReadOnly RPC_E_CANTCALLOUT_INASYNCCALL As HResult = &H80010004
        Public Shared ReadOnly DBG_TERMINATE_PROCESS As HResult = &H40010004
        Public Shared ReadOnly RPC_E_CANTCALLOUT_INEXTERNALCALL As HResult = &H80010005
        Public Shared ReadOnly DBG_CONTROL_C As HResult = &H40010005
        Public Shared ReadOnly RPC_E_CONNECTION_TERMINATED As HResult = &H80010006
        Public Shared ReadOnly DBG_PRINTEXCEPTION_C As HResult = &H40010006
        Public Shared ReadOnly RPC_E_SERVER_DIED As HResult = &H80010007
        Public Shared ReadOnly DBG_RIPEXCEPTION As HResult = &H40010007
        Public Shared ReadOnly RPC_E_CLIENT_DIED As HResult = &H80010008
        Public Shared ReadOnly DBG_CONTROL_BREAK As HResult = &H40010008
        Public Shared ReadOnly RPC_E_INVALID_DATAPACKET As HResult = &H80010009
        Public Shared ReadOnly DBG_COMMAND_EXCEPTION As HResult = &H40010009
        Public Shared ReadOnly RPC_E_CANTTRANSMIT_CALL As HResult = &H8001000A
        Public Shared ReadOnly RPC_E_CLIENT_CANTMARSHAL_DATA As HResult = &H8001000B
        Public Shared ReadOnly RPC_E_CLIENT_CANTUNMARSHAL_DATA As HResult = &H8001000C
        Public Shared ReadOnly RPC_E_SERVER_CANTMARSHAL_DATA As HResult = &H8001000D
        Public Shared ReadOnly RPC_E_SERVER_CANTUNMARSHAL_DATA As HResult = &H8001000E
        Public Shared ReadOnly RPC_E_INVALID_DATA As HResult = &H8001000F
        Public Shared ReadOnly RPC_E_INVALID_PARAMETER As HResult = &H80010010
        Public Shared ReadOnly RPC_E_CANTCALLOUT_AGAIN As HResult = &H80010011
        Public Shared ReadOnly RPC_E_SERVER_DIED_DNE As HResult = &H80010012
        Public Shared ReadOnly RPC_E_SYS_CALL_FAILED As HResult = &H80010100
        Public Shared ReadOnly RPC_E_OUT_OF_RESOURCES As HResult = &H80010101
        Public Shared ReadOnly RPC_E_ATTEMPTED_MULTITHREAD As HResult = &H80010102
        Public Shared ReadOnly RPC_E_NOT_REGISTERED As HResult = &H80010103
        Public Shared ReadOnly RPC_E_FAULT As HResult = &H80010104
        Public Shared ReadOnly RPC_E_SERVERFAULT As HResult = &H80010105
        Public Shared ReadOnly RPC_E_CHANGED_MODE As HResult = &H80010106
        Public Shared ReadOnly RPC_E_INVALIDMETHOD As HResult = &H80010107
        Public Shared ReadOnly RPC_E_DISCONNECTED As HResult = &H80010108
        Public Shared ReadOnly RPC_E_RETRY As HResult = &H80010109
        Public Shared ReadOnly RPC_E_SERVERCALL_RETRYLATER As HResult = &H8001010A
        Public Shared ReadOnly RPC_E_SERVERCALL_REJECTED As HResult = &H8001010B
        Public Shared ReadOnly RPC_E_INVALID_CALLDATA As HResult = &H8001010C
        Public Shared ReadOnly RPC_E_CANTCALLOUT_ININPUTSYNCCALL As HResult = &H8001010D
        Public Shared ReadOnly RPC_E_WRONG_THREAD As HResult = &H8001010E
        Public Shared ReadOnly RPC_E_THREAD_NOT_INIT As HResult = &H8001010F
        Public Shared ReadOnly RPC_E_VERSION_MISMATCH As HResult = &H80010110
        Public Shared ReadOnly RPC_E_INVALID_HEADER As HResult = &H80010111
        Public Shared ReadOnly RPC_E_INVALID_EXTENSION As HResult = &H80010112
        Public Shared ReadOnly RPC_E_INVALID_IPID As HResult = &H80010113
        Public Shared ReadOnly RPC_E_INVALID_OBJECT As HResult = &H80010114
        Public Shared ReadOnly RPC_S_CALLPENDING As HResult = &H80010115
        Public Shared ReadOnly RPC_S_WAITONTIMER As HResult = &H80010116
        Public Shared ReadOnly RPC_E_CALL_COMPLETE As HResult = &H80010117
        Public Shared ReadOnly RPC_E_UNSECURE_CALL As HResult = &H80010118
        Public Shared ReadOnly RPC_E_TOO_LATE As HResult = &H80010119
        Public Shared ReadOnly RPC_E_NO_GOOD_SECURITY_PACKAGES As HResult = &H8001011A
        Public Shared ReadOnly RPC_E_ACCESS_DENIED As HResult = &H8001011B
        Public Shared ReadOnly RPC_E_REMOTE_DISABLED As HResult = &H8001011C
        Public Shared ReadOnly RPC_E_INVALID_OBJREF As HResult = &H8001011D
        Public Shared ReadOnly RPC_E_NO_CONTEXT As HResult = &H8001011E
        Public Shared ReadOnly RPC_E_TIMEOUT As HResult = &H8001011F
        Public Shared ReadOnly RPC_E_NO_SYNC As HResult = &H80010120
        Public Shared ReadOnly RPC_E_FULLSIC_REQUIRED As HResult = &H80010121
        Public Shared ReadOnly RPC_E_INVALID_STD_NAME As HResult = &H80010122
        Public Shared ReadOnly CO_E_FAILEDTOIMPERSONATE As HResult = &H80010123
        Public Shared ReadOnly CO_E_FAILEDTOGETSECCTX As HResult = &H80010124
        Public Shared ReadOnly CO_E_FAILEDTOOPENTHREADTOKEN As HResult = &H80010125
        Public Shared ReadOnly CO_E_FAILEDTOGETTOKENINFO As HResult = &H80010126
        Public Shared ReadOnly CO_E_TRUSTEEDOESNTMATCHCLIENT As HResult = &H80010127
        Public Shared ReadOnly CO_E_FAILEDTOQUERYCLIENTBLANKET As HResult = &H80010128
        Public Shared ReadOnly CO_E_FAILEDTOSETDACL As HResult = &H80010129
        Public Shared ReadOnly CO_E_ACCESSCHECKFAILED As HResult = &H8001012A
        Public Shared ReadOnly CO_E_NETACCESSAPIFAILED As HResult = &H8001012B
        Public Shared ReadOnly CO_E_WRONGTRUSTEENAMESYNTAX As HResult = &H8001012C
        Public Shared ReadOnly CO_E_INVALIDSID As HResult = &H8001012D
        Public Shared ReadOnly CO_E_CONVERSIONFAILED As HResult = &H8001012E
        Public Shared ReadOnly CO_E_NOMATCHINGSIDFOUND As HResult = &H8001012F
        Public Shared ReadOnly CO_E_LOOKUPACCSIDFAILED As HResult = &H80010130
        Public Shared ReadOnly CO_E_NOMATCHINGNAMEFOUND As HResult = &H80010131
        Public Shared ReadOnly CO_E_LOOKUPACCNAMEFAILED As HResult = &H80010132
        Public Shared ReadOnly CO_E_SETSERLHNDLFAILED As HResult = &H80010133
        Public Shared ReadOnly CO_E_FAILEDTOGETWINDIR As HResult = &H80010134
        Public Shared ReadOnly CO_E_PATHTOOLONG As HResult = &H80010135
        Public Shared ReadOnly CO_E_FAILEDTOGENUUID As HResult = &H80010136
        Public Shared ReadOnly CO_E_FAILEDTOCREATEFILE As HResult = &H80010137
        Public Shared ReadOnly CO_E_FAILEDTOCLOSEHANDLE As HResult = &H80010138
        Public Shared ReadOnly CO_E_EXCEEDSYSACLLIMIT As HResult = &H80010139
        Public Shared ReadOnly CO_E_ACESINWRONGORDER As HResult = &H8001013A
        Public Shared ReadOnly CO_E_INCOMPATIBLESTREAMVERSION As HResult = &H8001013B
        Public Shared ReadOnly CO_E_FAILEDTOOPENPROCESSTOKEN As HResult = &H8001013C
        Public Shared ReadOnly CO_E_DECODEFAILED As HResult = &H8001013D
        Public Shared ReadOnly CO_E_ACNOTINITIALIZED As HResult = &H8001013F
        Public Shared ReadOnly CO_E_CANCEL_DISABLED As HResult = &H80010140
        Public Shared ReadOnly IDS_ORIGINAL_MESSAGE As HResult = &H11000
        Public Shared ReadOnly IDS_FROM As HResult = &H11001
        Public Shared ReadOnly IDS_SENT As HResult = &H11002
        Public Shared ReadOnly IDS_POSTED_AT As HResult = &H11003
        Public Shared ReadOnly IDS_TO As HResult = &H11004
        Public Shared ReadOnly IDS_CC As HResult = &H11005
        Public Shared ReadOnly IDS_POSTED_TO As HResult = &H11006
        Public Shared ReadOnly IDS_CONVERSATION As HResult = &H11007
        Public Shared ReadOnly IDS_SUBJECT As HResult = &H11008
        Public Shared ReadOnly IDS_IMPORTANCE As HResult = &H11009
        Public Shared ReadOnly IDS_ON_BEHALF_OF As HResult = &H1100A
        Public Shared ReadOnly IDS_FW As HResult = &H1100B
        Public Shared ReadOnly IDS_RE As HResult = &H1100C
        Public Shared ReadOnly IDS_CODEPAGE As HResult = &H1100D
        Public Shared ReadOnly IDS_CalendarFolder As HResult = &H1100E
        Public Shared ReadOnly IDS_ContactsFolder As HResult = &H1100F
        Public Shared ReadOnly IDS_DraftsFolder As HResult = &H11010
        Public Shared ReadOnly IDS_JournalFolder As HResult = &H11011
        Public Shared ReadOnly IDS_NotesFolder As HResult = &H11012
        Public Shared ReadOnly IDS_TasksFolder As HResult = &H11013
        Public Shared ReadOnly IDS_NewFolder As HResult = &H11014
        Public Shared ReadOnly IDS_Location As HResult = &H11015
        Public Shared ReadOnly IDS_StartTime As HResult = &H11016
        Public Shared ReadOnly IDS_EndTime As HResult = &H11017
        Public Shared ReadOnly IDS_TimeZone As HResult = &H11018
        Public Shared ReadOnly IDS_LocalTime As HResult = &H11019
        Public Shared ReadOnly IDS_Organizer As HResult = &H1101A
        Public Shared ReadOnly IDS_ApptType As HResult = &H1101B
        Public Shared ReadOnly IDS_SingleAppt As HResult = &H1101C
        Public Shared ReadOnly IDS_SingleMtg As HResult = &H1101D
        Public Shared ReadOnly IDS_RecurAppt As HResult = &H1101E
        Public Shared ReadOnly IDS_RecurMtg As HResult = &H1101F
        Public Shared ReadOnly IDS_Universal As HResult = &H11100
        Public Shared ReadOnly IDS_Greenwich As HResult = &H11101
        Public Shared ReadOnly IDS_Sarajevo As HResult = &H11102
        Public Shared ReadOnly IDS_Paris As HResult = &H11103
        Public Shared ReadOnly IDS_Berlin As HResult = &H11104
        Public Shared ReadOnly IDS_EasternEurope As HResult = &H11105
        Public Shared ReadOnly IDS_Prague As HResult = &H11106
        Public Shared ReadOnly IDS_Athens As HResult = &H11107
        Public Shared ReadOnly IDS_Brasilia As HResult = &H11108
        Public Shared ReadOnly IDS_Atlantic As HResult = &H11109
        Public Shared ReadOnly IDS_Eastern As HResult = &H1110A
        Public Shared ReadOnly IDS_Central As HResult = &H1110B
        Public Shared ReadOnly IDS_Mountain As HResult = &H1110C
        Public Shared ReadOnly IDS_Pacific As HResult = &H1110D
        Public Shared ReadOnly IDS_Alaska As HResult = &H1110E
        Public Shared ReadOnly IDS_Hawaii As HResult = &H1110F
        Public Shared ReadOnly IDS_Midway As HResult = &H11110
        Public Shared ReadOnly IDS_Wellington As HResult = &H11111
        Public Shared ReadOnly IDS_Brisbane As HResult = &H11112
        Public Shared ReadOnly IDS_Adelaide As HResult = &H11113
        Public Shared ReadOnly IDS_Tokyo As HResult = &H11114
        Public Shared ReadOnly IDS_Singapore As HResult = &H11115
        Public Shared ReadOnly IDS_Bangkok As HResult = &H11116
        Public Shared ReadOnly IDS_Bombay As HResult = &H11117
        Public Shared ReadOnly IDS_AbuDhabi As HResult = &H11118
        Public Shared ReadOnly IDS_Tehran As HResult = &H11119
        Public Shared ReadOnly IDS_Baghdad As HResult = &H1111A
        Public Shared ReadOnly IDS_Israel As HResult = &H1111B
        Public Shared ReadOnly IDS_Newfoundland As HResult = &H1111C
        Public Shared ReadOnly IDS_Azores As HResult = &H1111D
        Public Shared ReadOnly IDS_MidAtlantic As HResult = &H1111E
        Public Shared ReadOnly IDS_Monrovia As HResult = &H1111F
        Public Shared ReadOnly IDS_BuenosAires As HResult = &H11120
        Public Shared ReadOnly IDS_Caracas As HResult = &H11121
        Public Shared ReadOnly IDS_Indiana As HResult = &H11122
        Public Shared ReadOnly IDS_Bogota As HResult = &H11123
        Public Shared ReadOnly IDS_Saskatchewan As HResult = &H11124
        Public Shared ReadOnly IDS_Mexico As HResult = &H11125
        Public Shared ReadOnly IDS_Arizona As HResult = &H11126
        Public Shared ReadOnly IDS_Eniwetok As HResult = &H11127
        Public Shared ReadOnly IDS_Fiji As HResult = &H11128
        Public Shared ReadOnly IDS_Magadan As HResult = &H11129
        Public Shared ReadOnly IDS_Hobart As HResult = &H1112A
        Public Shared ReadOnly IDS_Guam As HResult = &H1112B
        Public Shared ReadOnly IDS_Darwin As HResult = &H1112C
        Public Shared ReadOnly IDS_Beijing As HResult = &H1112D
        Public Shared ReadOnly IDS_Almaty As HResult = &H1112E
        Public Shared ReadOnly IDS_Islamabad As HResult = &H1112F
        Public Shared ReadOnly IDS_Kabul As HResult = &H11130
        Public Shared ReadOnly IDS_Cairo As HResult = &H11131
        Public Shared ReadOnly IDS_Harare As HResult = &H11132
        Public Shared ReadOnly IDS_Moscow As HResult = &H11133
        Public Shared ReadOnly IDS_CapeVerde As HResult = &H11134
        Public Shared ReadOnly IDS_Caucasus As HResult = &H11135
        Public Shared ReadOnly IDS_CentralAmerica As HResult = &H11136
        Public Shared ReadOnly IDS_EastAfrica As HResult = &H11137
        Public Shared ReadOnly IDS_Melbourne As HResult = &H11138
        Public Shared ReadOnly IDS_Ekaterinburg As HResult = &H11139
        Public Shared ReadOnly IDS_Helsinki As HResult = &H1113A
        Public Shared ReadOnly IDS_Greenland As HResult = &H1113B
        Public Shared ReadOnly IDS_Rangoon As HResult = &H1113C
        Public Shared ReadOnly IDS_Nepal As HResult = &H1113D
        Public Shared ReadOnly IDS_Irkutsk As HResult = &H1113E
        Public Shared ReadOnly IDS_Krasnoyarsk As HResult = &H1113F
        Public Shared ReadOnly IDS_Santiago As HResult = &H11140
        Public Shared ReadOnly IDS_SriLanka As HResult = &H11141
        Public Shared ReadOnly IDS_Tonga As HResult = &H11142
        Public Shared ReadOnly IDS_Vladivostok As HResult = &H11143
        Public Shared ReadOnly IDS_WestCentralAfrica As HResult = &H11144
        Public Shared ReadOnly IDS_Yakutsk As HResult = &H11145
        Public Shared ReadOnly IDS_Dhaka As HResult = &H11146
        Public Shared ReadOnly IDS_Seoul As HResult = &H11147
        Public Shared ReadOnly IDS_Perth As HResult = &H11148
        Public Shared ReadOnly IDS_Arab As HResult = &H11149
        Public Shared ReadOnly IDS_Taipei As HResult = &H1114A
        Public Shared ReadOnly IDS_Sydney2000 As HResult = &H1114B
        Public Shared ReadOnly IDS_Chihuahua As HResult = &H1114C
        Public Shared ReadOnly RPC_E_UNEXPECTED As HResult = &H8001FFFF
    End Class

End Namespace